<?php	require_once(dirname(__FILE__).'/inc/config.inc.php');IsModelPriv('member');
//初始化参数
$tbname = '#@__user';
$gourl  = 'member.php';


//引入操作类

require_once(ADMIN_INC.'/action.class.php');


//修改会员信息
if($action == 'update')
{

	$join_time=strtotime($join_time);
	$birthday=strtotime($birthday);

	$sql = "UPDATE `$tbname` SET  school='$school', truename='$truename' ,mobile='$mobile',address='$address',level='$level',birthday='$birthday',join_time='$join_time',qiang='$qiang',zhiwu='$zhiwu' WHERE id=$id";

	if($dosql->ExecNoneQuery($sql))
	{
		header("location:$gourl");
		exit();
	}


}












//无条件返回

else

{

    header("location:$gourl");

	exit();

}

?>

